import request from '../utils/request'

// 验证码
export function getCodeImg() {
    return request({
        method: 'get',
        url: "/shiro/userStatus/getCodeImg",
        headers:{
            isToken:false
        },
        timeout: 20000
    })
}

// 提交表单
export function dataFormSubmit(username, password, code, uuid) {
    const data = {
        username,
        password,
        code,
        uuid
    };
    return request({
        method: 'post',
        url: '/shiro/userStatus/login',
        data: data
    })
}
